home *** CD-ROM | disk | FTP | other *** search
/ Enter 2006 August / Enter 08 2006.iso / Enter / config / main.sas < prev    next >
Encoding:
Text File  |  2006-06-30  |  12.5 KB  |  521 lines

  1. {Archiv:ENTER CD}
  2. {ArchivCode:ENTER}
  3.  
  4. ================================================
  5. {#FILEMASK:*.x}
  6. {#SUBDIR:no}
  7. {#PROTO:no}
  8.  
  9. {#ifdef ARCHIWUM}
  10.     {#PORTION:20}
  11. {#else}
  12.     {#PORTION:10}
  13. {#endif}
  14.  
  15. {#APPENDIX:no}
  16. {#EXTRAELMS:yes}
  17.  
  18. {SERVER:saspp://SE}
  19. {CGI:<+SERVER>/sas?u=<%USER>}
  20. {form:<form method="post" action="<+SERVER>/sas">
  21. <input type="hidden" name="u" value="<%USER>">}
  22.  
  23.  
  24. ############################################
  25.  
  26. {X1:500}
  27. {X2:220}
  28.  
  29. {X0:720} X0 = X1 + X2
  30.  
  31. {tmp:<%In=0>}
  32.  
  33. ...........................................
  34. Kolor tla na liscie wyszukanych:
  35. {Xcolor:<%K=NRL%2><?K:"#f8f8f8":"#ffffff">}
  36.  
  37. ...........................................
  38. Kolor tla w tabelce opisu programu:
  39. {Color:<%K=In%2><?K:"white":"#E7EAEE">}     RGB #8AAAd5 
  40. {Color_ramki:#004C7D}
  41.  
  42. ...........................................
  43. Kolor wszystkich odsylaczy
  44. {navy:navy}    #004C7D
  45. Kolor odsylacza najechanego
  46. {red:red}    #488
  47. ...........................................
  48.  
  49. Kolor inputu
  50. {input_color:#E4E1E1}
  51.  
  52. ###########################################
  53. ============== header & footer ===========
  54.  
  55. {Header:
  56. <@Header>\
  57. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Final//EN">
  58. <html>
  59. <head>
  60. <meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
  61. <title><+Title></title>
  62. <+Style>
  63. <script type="text/javascript">
  64. function Nic()\123 
  65. return true;\125
  66. window.onerror = Nic;    
  67. </script>
  68. </head>
  69. <body style="background-color:#004C7D">
  70. <table width="<+X0>" cellspacing="0" cellpadding="0" align="center">
  71. <tr>
  72. <td>}
  73. ......................
  74.  
  75. {Footer:
  76. </table>
  77. <+Footer2>
  78. <br>
  79. </body>
  80. </html>}
  81.  
  82. ==========================================
  83. {#ifdef NIEGOTOWE}
  84.  
  85.     {HOME:
  86.     <+Header>
  87.     <table width="100%" bgcolor="white">
  88.     <tr><td><+Redakcja>
  89.     </table>
  90.     <+Footer>}
  91.  
  92.     {Redakcja:
  93.       <a href="<+CGI>;f=MakeInfos">scalenie</a> (TXT) 
  94.       
  95.       <a href="<+CGI>;f=SASedit">przetworzenie</a> (XML)
  96.     <?IREC=gt=1:QueryBox>}
  97.  
  98.     {MakeInfos:
  99.     <@FileConcat:Root:"sub":"info.txt":Path2outfile:"\n<info:%s>\n":"\n</info>\n">
  100.     <@Engine:"f=SASedit">}
  101.  
  102. {#else} GOTOWE 
  103.  
  104.     {#ifdef ARCHIWUM}
  105.  
  106.     {HOME:        
  107.     <+Header>
  108.     <+QueryBox>\
  109.     <+HomePage>
  110.     <+Footer2>}
  111.         
  112.     {#else}
  113.         {HOME:<@Engine:"par.typ=cover;f=COVER">}
  114.     {#endif}
  115.  
  116. {#endif}
  117.  
  118. ===========================================
  119.  
  120. {table.main:
  121. <table width="<+X0>" align="center" cellspacing="0" bgcolor="white" style="padding-left:2em;padding-right:2em">}
  122.  
  123. .....................................
  124.  
  125. {QUERY:
  126. <+Header>
  127. <+QueryBox>
  128. <@Query:Ifound>
  129. <?Ifound:Found:NotFound>
  130. <+Footer>}
  131.  
  132. {Found:
  133. <@ParValue:"dzial":Q4D>
  134. <+table.main>
  135. <tr><td style="background-image: url('<+Images>/szarak2.png')">
  136. <?LIST:QUERY_NAVIG>
  137. <div> dzia│: <b><+Sel></b> </div>
  138. <@FormList:Lista>
  139. <tr><td> 
  140. </table>}
  141.  
  142. {Sel:<?Q4D=eq="*":"wszystkie":sel_dzial>}
  143. {sel_dzial:<$Sel_dzialy:Q4D>}
  144.  
  145. ...........................................
  146. ===========================================
  147. {#ifndef ARCHIWUM}
  148.  
  149. {COVER:
  150. <+Header>
  151. <+QueryBox>
  152. <@Query:Ifound>
  153. <?Ifound:CoverFound:CoverNotFound>
  154. <+Footer>}
  155.  
  156. {CoverFound:
  157. <table width="<+X0>" align="center" cellspacing="0" cellpadding="0" bgcolor="white">
  158. <%Ic=1>
  159. <@FormList:Cover>
  160. </table>}
  161.  
  162. {CoverNotFound:
  163. <table width="100%" cellspacing="0" cellpadding="20" bgcolor="white">
  164. <tr><td>
  165. <h3 align="center">Brak pozycji typu "cover"</h3>
  166. </table>}
  167.  
  168. {#endif}
  169.  
  170. ===========================================
  171.  
  172. {NotFound:
  173. <table width="100%" cellspacing="0" cellpadding="20" bgcolor="white">
  174. <tr><td>
  175. <h3 align="center">Brak pozycji spe│niaj▒cych podane kryterium</h3>
  176. </table>}
  177.  
  178.  
  179. ===========================================
  180.  
  181. {DOC:
  182. <+Header>
  183. <+QueryBox>
  184. <+table.main>
  185. <@ParValue:"dzial":Q4D>
  186. <tr><td style="background-image: url('<+Images>/szarak2.png')">
  187. <?LIST:DOC_NAVIG><%Soft=0>
  188. <@FormDoc:DocForm>
  189. <tr><td> 
  190. </table>
  191. <+Footer>}
  192.  
  193. ===========================================
  194.  
  195. {QueryBox:
  196. <+Logo>
  197. <table align="center" width="<+X0>" cellspacing="0" cellpadding="2">
  198. <tr valign="bottom">
  199. <td style="background-image: url('<+Images>/szarak.png')">      <+LMenu>
  200. <td style="background-image: url('<+Images>/szarak.png')" align="center">
  201. <!-- query -->
  202. <+form>
  203. <b>nazwa:</b> 
  204. <input type="hidden" name="a" value="yes">
  205. <input type="text" name="tyt" size="32" maxlength="32" class="inp">  
  206. <b>status:</b> 
  207. <select size="1" name="licencja" class="inp">
  208. <option value="shareware">shareware
  209. <option value="free">freeware
  210. <option value="trial">trial
  211. <option value="demo">demo
  212. <option value="pe│n|komerc">pe│ne
  213. <option value="*" selected>dowolny
  214. </select>
  215. <+Wydanie>
  216. <input type="hidden" name="dzial" value="*">
  217. <-- input type="hidden" name="a" value="all" -->
  218. <input type="hidden" name="f" value="QUERY">
  219. <input type="submit" value="Szukaj">
  220. </form>
  221. <!-- /query -->
  222. <tr valign="top">
  223. <td colspan="2" style="background-image: url('<+Images>/szarak.png')" align="center">
  224. <+Lst_dzialy><a href="<+CGI>;dzial=*;f=QUERY">wszystkie</a> 
  225. </table>}
  226.  
  227. .............................
  228.  
  229. {#ifdef ARCHIWUM}
  230.  
  231.     {P2A:<@FullPath:"../enter">}
  232.     {LMenu:<a href="<+CGI>;b=<+P2A>;par.typ=cover;f=COVER">strona g│≤wna</a> }
  233.  
  234. {#else}
  235.  
  236. {P2A:<@FullPath:"../archiwum">}
  237. {LMenu:<@ParValue:"f":Form><?Form="COVER":no_ref2cover:ref2cover> }
  238. {ref2cover:<a href="<+CGI>;par.typ=cover;f=COVER">strona g│≤wna</a>}
  239. {no_ref2cover:<span>strona g│≤wna</span>}
  240.  
  241. ........................
  242.  
  243. {cell:<?Ic=1:ic1:cell2>}
  244. {cell2:<?Ic=2:ic2:cell3>}
  245. {cell3:<?Ic=3:ic3:cell4>}
  246.  
  247. {ic1:<tr valign="top"><td width="30%"><%Ic=2>}
  248.  
  249. {ic2:
  250. <td width="40%" align="center" rowspan="2">
  251. <img alt="" src="<+Images>/srodek.gif">
  252. <td width="30%"><%Ic=3>}
  253.  
  254. {ic3:<tr valign="top"><td><%Ic=4>}
  255.  
  256. {cell4:<td><%Ic=5>}
  257.  
  258. {#endif}
  259.  
  260. ===========================================
  261. {ONAS:
  262. <+Header>
  263. <+QueryBox>
  264. <@Importf:onas_file:External>
  265. <+Footer>}
  266.  
  267. ..........................................
  268. {POMOC:
  269. <+Header>
  270. <+QueryBox>
  271. <@Importf:pomoc_file:External>
  272. <+Footer>}
  273.  
  274. {#ifdef ARCHIWUN}
  275.     {onas_file:<%SASDIR>/dodatki/onas.x}
  276.     {pomoc_file:<%SASDIR>/dodatki/pomoc.x}
  277. {#else}
  278.     {onas_file:<@FullPath:"../enter/dodatki/onas.x">}
  279.     {pomoc_file:<@FullPath:"../enter/dodatki/pomoc.x">}
  280. {#endif}
  281. ..........................................
  282.  
  283. {#ifndef ARCHIWUM}
  284.     {Wydanie:}
  285.     {Wyd:}
  286. {#endif}
  287.  
  288. ================ ramka w paski ====================
  289. {open.ramka:
  290. <br><%In=0>
  291. <!-- info -->
  292. <table width="98%" align="center" cellpadding="2" cellspacing="0" style="border:1px solid <+Color_ramki>">
  293. <tr><td colspan="2" style="background-color:<+Color_ramki>;font-weight:bold;color:white"> Informacje:
  294. <+tdr>}
  295. ......................
  296. {close.ramka:</table>
  297. <!-- /info -->\n}
  298. ......................
  299. {trd:\n<%In=In+1><tr bgcolor="<+Color>"><td>}
  300. {tdd:</td><td>}
  301. {tdr:</td></tr>}
  302.  
  303. ===================================================
  304.  
  305. {close.soft:
  306. </table>
  307. <!-- /soft -->\n}
  308.  
  309.  
  310. {#ifdef ARCHIWUM}
  311.  
  312. {open.soft:
  313. <!-- soft -->
  314. <table width="100%" cellspacing="0" cellpadding="3">
  315. <tr valign="top">
  316. <td width="80%" valign="top">
  317. <span style="color:red"><b><%WydBuf></b></span> 
  318. <b><%dbuf><b>
  319. <br><span class="tyt"><%Tyt></span></td>}
  320.  
  321.  
  322. {#else} ................................................    
  323.  
  324.  
  325. {open.soft:
  326. <!-- soft -->
  327. <table width="100%" cellspacing="10" cellpadding="3">
  328. <tr valign="top">
  329. <td width="80%" valign="top"><b><$Sel_dzialy:dbuf></b>
  330. <br><span class="tyt"><%Tyt></span></td>
  331. <+folder>}
  332.  
  333. .....................
  334.  
  335. {shell:saspp://SE/shell#}
  336.  
  337. {formexe:<td width="10%" align="center"><a class="sub" href="<+shell><+Dir>/<%Exe>"><+instal.ico><%Exe></a></td>}
  338. {folder:<td width="10%" align="center" onClick="window.open('file:<+Dir>/','nowe','width=400,height=150,left=400,top=300,menubar,scrollbars,resizable')"><+folder.ico>FOLDER</td>}
  339.  
  340. ....................
  341. {instal.ico:<img src="<+Images>/instal.jpg" alt="instal"><br>}
  342. {folder.ico:<img src="<+Images>/folder.jpg" alt="folder"><br>}
  343. ....................
  344. {#endif}
  345.  
  346. ===========================================
  347.  
  348. {Dir:<@FullPath:apath>}
  349. {apath:../<%pbuf>}
  350.  
  351. ============= TAGS & Formaty ==============
  352.        
  353. {#TAGS}
  354. {:-<info>}
  355. {:i<ident.wyd>}
  356. {:-<ident>}
  357. {:i<dzial>}
  358. {:-<path>}
  359. {:i<tyt>}
  360. {:i<par.typ>}        /* cover */
  361. {:-<par>}
  362. {:-<ramka>}
  363. {:-<autor>}
  364. {:-<wersja>}
  365. {:-<data>}
  366. {:-<rozmiar>}
  367. {:i<licencja>}
  368. {:-<typ>}
  369. {:-<cena>}
  370. {:-<ograniczenia>}
  371. {:-<deinstalator>}
  372. {:-<wymagania>}
  373. {:-<internet>}
  374. {:-<office>}
  375. {:-<office2>}
  376. {:-<soft>}
  377. {:-<exe>}
  378. {:-<e-mail>}
  379. {:-<img>}
  380. {:-<i>}
  381. {:-<b>}
  382. {:-<e>}
  383. {:-<tt>}
  384. {:-<http>}
  385.  
  386. ..................................................
  387. {tcell:
  388. <tr bgcolor="<+Xcolor>" valign="top">
  389. <td width="<+X0>" style="padding:.5em;border-bottom:1px dashed silver">}
  390. ..................................................
  391.  
  392. {Lista}
  393.  
  394. {#ifdef ARCHIWUM}
  395.  
  396. {:-<ident.wyd>|<@AttrValue:"wyd":WydBuf>}
  397. {:-<tyt>|<@Store:tbuf>|}
  398. {:-<licencja>|<@Store:lbuf>|}
  399. {:-<info>|<%lbuf="--"><%wbuf="--">|
  400. <+tcell>
  401. <div style="padding:.3em 0">
  402. <span style="color:red;font-weight:bold"><%WydBuf> </span>
  403. <a class="prog" href="<+CGI>;r=<%NRL>;p=<%LIST>.<%IPOR>;f=DOC;dzial=<%Q4D>"><%tbuf></a>
  404.  <span style="color:red;font-weight:bold"><%lbuf></span></div>}
  405.  
  406. {#else}
  407.  
  408. {:-<tyt>|<@Store:tbuf>|}
  409. {:-<licencja>|<@Store:lbuf>|}
  410. {:-<wymagania>|<@Store:wbuf>|}
  411. {:-<e>|<@Store:ebuf>|}
  412.  
  413. {:-<info>|<%lbuf="--"><%wbuf="--"><%ebuf="">|
  414. <+tcell>
  415. <div style="padding:.3em 0">
  416. <a class="prog" href="<+CGI>;r=<%NRL>;p=<%LIST>.<%IPOR>;f=DOC;dzial=<%Q4D>"><%tbuf></a>
  417. </div>
  418. <?ebuf:display_opis>
  419. <div><b>Licencja:</b> <%lbuf></div>
  420. <div><b>Wymagania:</b> <%wbuf></div>}
  421.  
  422. {display_opis:<div><%ebuf></div>}
  423.  
  424. {#endif}
  425.  
  426. {nazwadzialu:<$Sel_dzialy:dbuf>  }
  427.  
  428. ......................................................
  429. ======================================================
  430.  
  431. {DocForm}
  432.  
  433. {#ifdef NIEGOTOWE}
  434. {:=<ident>|<@AttrValue:"wyd":WydBuf>}
  435. {#endif}
  436.  
  437. {#ifdef ARCHIWUM}
  438. {:=<ident>|<@AttrValue:"wyd":WydBuf>}
  439. {#endif}
  440.  
  441. {:=<dzial>|<@Store:dbuf>}
  442. {:=<path>|<@Store:pbuf>}
  443. {:=<tyt>|<@Store:Tyt>|}
  444. {:=<soft>|<tr><td><-- class="pp" -->\n<+open.soft>|<+close.soft>}
  445.  
  446. /* dzial, tyt, path, exe */
  447.  
  448. {:=<par>|<tr><td><-- class="pp" -->\n<@UseForm:par>}
  449. {:=<ramka>|<tr><td><-- class="pp" -->\n<+open.ramka>|<+close.ramka>}
  450.  
  451. {#ifndef ARCHIWUM}
  452. {:=<img>|<@UseForm:img>}
  453. {:-<exe>|<@Store:Exe>|<?Exe=ne="uzup":formexe>}
  454. {#endif}
  455.  
  456. {:-<autor>|<+trd>Autor:<+tdd>|<+tdr>}
  457. {:-<wersja>|<+trd>Wersja:<+tdd>|<+tdr>}
  458. {:-<data>|<+trd>Data:<+tdd>|<+tdr>}
  459. {:-<deinstalator>|<+trd>Deinstalator:<+tdd>|<+tdr>}
  460. {:-<rozmiar>|<+trd>Rozmiar:<+tdd>|<+tdr>}
  461. {:-<licencja>|<+trd>Licencja:<+tdd>|<+tdr>}
  462. {:-<typ>|<+trd>Typ:<+tdd>|<+tdr>}
  463. {:-<cena>|<+trd>Cena:<+tdd>|<+tdr>}
  464. {:-<ograniczenia>|<+trd>Ograniczenia:<+tdd>|<+tdr>}
  465. {:-<wymagania>|<+trd>Wymagania:<+tdd>|<+tdr>}
  466.  
  467. {:-<http>|<@Store:Buf>|<a target="_blank" href="http://<%Buf>"><%Buf></a>}
  468. {:-<e-mail>|<@Store:Buf>|<+trd>E-mail:<+tdd><a href="mailto:<%Buf>"><%Buf></a><+tdr>}
  469. {:-<internet>|<@Store:Buf>|<+trd>Internet:<+tdd><a target="_blank" href="http://<%Buf>"><%Buf></a><+tdr>}
  470. {:-<office>|<@Store:Buf>|<+trd>Internet:<+tdd><a target="_blank" href="http://www.microsoft.com/emea/Office2007beta/85"><%Buf></a><+tdr>}
  471. {:-<office2>|<@Store:Buf>|<a target="_blank" href="http://www.microsoft.com/emea/Office2007beta/85"><%Buf></a>}
  472.  
  473.  
  474. {:-<tt>|<span class="tt">|</span>}
  475. {:-<e>|<br><span style="color:black">|</span>}
  476. {:-<b>|<b>|</b> }
  477. {:-<i>|<i>|</i> }
  478. {:-<u>|<u>|</u> }
  479.  
  480. .................................
  481.  
  482. {img}
  483. {:-<img>|<@Store:buf>|<tr><td align="center">
  484. <br><img src="<+Dir>/<%buf>" alt="<%buf>">}
  485. {:o<img.typ=c>|}    
  486.  
  487. .................................
  488. {par}
  489. {:-<par>|<div class="p">|</div>}
  490. {:-<par.typ=pkt>|<div class="p">•   |</div>}
  491. {:o<par.typ=cover>|}
  492.  
  493. ======================================================
  494.  
  495.  
  496. {#ifndef ARCHIWUM}
  497.  
  498. {Cover}
  499. {:-<info>|<+cell>}
  500. {:-<path>|<@Store:pbuf>|<br>
  501. <div align="center"><a href="<+CGI>;r=<%NRL>;p=<%LIST>.<%IPOR>;f=DOC"><img src="<+Dir>/box.gif" border="0" alt="opis/instaluj"></a></div>}
  502.  
  503. {:-<tyt>|<div style="text-align:center;font-weight:bold"><a href="<+CGI>;r=<%NRL>;p=<%LIST>.<%IPOR>;f=DOC">|</a></div>}
  504.  
  505. {#endif}
  506.  
  507. ==============================
  508.  
  509. {External}
  510. {:-<doc>|<table width="100%" cellpadding="5" bgcolor="white" align="center">
  511. <tr><td><-- class="pp" -->|<br><br> </td></tr></table>}
  512. {:-<tyt>|<div style="font-size: 160%">|</div>}
  513. {:-<styt>|<div style="font-size: 120%">|</div>}
  514. {:-<*>|<@OrgTag>|<@OrgTag>}
  515.  
  516. ==============================
  517.  
  518. __EOF__
  519.  
  520.  
  521.